<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>现代简历模板</title>
    <script src="https://cdn.tailwindcss.com/3.3.3"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
        
        :root {
            --primary: #4A90E2;
            --secondary: #FF9E4D;
            --bg: #FFFFFF;
            --section-bg: #F5F7FA;
            --text: #333333;
            --text-light: #666666;
            --border: #E5E7EB;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            color: var(--text);
            background-color: var(--bg);
            line-height: 1.6;
        }
        
        .container {
            display: flex;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* 左侧导航 */
        .sidebar {
            width: 280px;
            padding: 30px;
            background-color: var(--bg);
            position: sticky;
            top: 0;
            height: 100vh;
            border-right: 1px solid var(--border);
        }
        
        .profile {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background-color: var(--section-bg);
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 40px;
            font-weight: 300;
        }
        
        .name {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 5px;
            color: var(--primary);
        }
        
        .title {
            font-size: 16px;
            color: var(--text-light);
            margin-bottom: 20px;
        }
        
        .contact-list {
            margin-bottom: 30px;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .contact-icon {
            width: 24px;
            height: 24px;
            background-color: var(--primary);
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            color: white;
        }
        
        /* 右侧内容 */
        .main-content {
            flex: 1;
            padding: 30px;
        }
        
        .section {
            margin-bottom: 40px;
            background-color: var(--bg);
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .section:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .section-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 20px;
            color: var(--primary);
            display: flex;
            align-items: center;
        }
        
        .section-title::before {
            content: '';
            display: inline-block;
            width: 4px;
            height: 20px;
            background-color: var(--primary);
            margin-right: 10px;
            border-radius: 2px;
        }
        
        /* 教育背景 */
        .timeline {
            position: relative;
            padding-left: 30px;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 2px;
            background-color: var(--primary);
        }
        
        .timeline-item {
            position: relative;
            padding-bottom: 30px;
        }
        
        .timeline-item:last-child {
            padding-bottom: 0;
        }
        
        .timeline-dot {
            position: absolute;
            left: -36px;
            top: 0;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: var(--primary);
            border: 3px solid white;
            transition: all 0.3s ease;
        }
        
        .timeline-date {
            font-size: 14px;
            color: var(--text-light);
            margin-bottom: 5px;
        }
        
        .timeline-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .timeline-subtitle {
            font-size: 16px;
            color: var(--text-light);
            margin-bottom: 10px;
        }
        
        /* 技能矩阵 */
        .skills-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
        
        .skill-item {
            margin-bottom: 15px;
        }
        
        .skill-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }
        
        .skill-name {
            font-weight: 500;
        }
        
        .skill-percent {
            color: var(--text-light);
        }
        
        .skill-bar {
            height: 8px;
            background-color: var(--section-bg);
            border-radius: 4px;
            overflow: hidden;
        }
        
        .skill-progress {
            height: 100%;
            background-color: var(--primary);
            border-radius: 4px;
            transition: width 1s ease;
        }
        
        /* 项目经验 */
        .projects-grid {
            display: grid;
            /* grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); */
            gap: 20px;
        }
        
        .project-card {
            border: 1px solid var(--border);
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        .project-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        }
        
        .project-image {
            height: 180px;
            background-color: var(--section-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
        }
        
        .project-content {
            padding: 20px;
        }
        
        .project-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .project-desc {
            color: var(--text-light);
            margin-bottom: 15px;
            font-size: 14px;
        }
        
        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .project-tag {
            background-color: var(--section-bg);
            color: var(--primary);
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 12px;
        }
        
        /* 实习经历 */
        .experience-item {
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border);
        }
        
        .experience-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .experience-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        
        .experience-title {
            font-size: 18px;
            font-weight: 600;
        }
        
        .experience-company {
            color: var(--primary);
        }
        
        .experience-date {
            color: var(--text-light);
            font-size: 14px;
        }
        
        .experience-desc {
            color: var(--text-light);
            font-size: 14px;
        }
        
        /* 按钮样式 */
        .btn {
            display: inline-block;
            padding: 8px 16px;
            border-radius: 4px;
            font-weight: 500;
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .btn-primary {
            background-color: var(--primary);
            color: white;
        }
        
        .btn-secondary {
            background-color: var(--secondary);
            color: white;
        }
        
        .btn-outline {
            border: 1px solid var(--primary);
            color: var(--primary);
            background-color: transparent;
        }
        
        /* 图标动画 */
        .skill-icon {
            font-size: 24px;
            margin-right: 10px;
            color: var(--primary);
            transition: all 0.3s ease;
        }
        
        .skill-icon:hover {
            color: var(--secondary);
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .container {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
                position: static;
                height: auto;
                border-right: none;
                border-bottom: 1px solid var(--border);
            }
            
            .skills-container {
                grid-template-columns: 1fr;
            }
        }
        
        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .fade-in {
            animation: fadeIn 0.8s ease forwards;
        }
        
        /* 时间轴动画 */
        @keyframes dotMove {
            0% { transform: translateY(0); }
            50% { transform: translateY(10px); }
            100% { transform: translateY(0); }
        }
        
        .animate-dot {
            animation: dotMove 1.5s infinite;
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 左侧导航 -->
        <div class="sidebar">
            <div class="profile">
                <div class="avatar">J</div>
                <h1 class="name">张明</h1>
                <p class="title">前端开发工程师</p>
                <!-- <button class="btn btn-secondary">下载简历</button> -->
            </div>
            
            <div class="contact-list">
                <div class="contact-item">
                    <div class="contact-icon">📱</div>
                    <span>138-1234-5678</span>
                </div>
                <div class="contact-item">
                    <div class="contact-icon">✉️</div>
                    <span>zhangming@example.com</span>
                </div>
                <div class="contact-item">
                    <div class="contact-icon">🌐</div>
                    <span>github.com/zhangming</span>
                </div>
                <div class="contact-item">
                    <div class="contact-icon">📍</div>
                    <span>北京市海淀区</span>
                </div>
            </div>
            
            <div class="section">
                <h2 class="section-title">专业技能</h2>
                <div class="skill-item">
                    <div class="skill-header">
                        <span class="skill-name"><i class="fab fa-html5 skill-icon"></i>HTML/CSS</span>
                        <span class="skill-percent">90%</span>
                    </div>
                    <div class="skill-bar">
                        <div class="skill-progress" style="width: 90%"></div>
                    </div>
                </div>
                <div class="skill-item">
                    <div class="skill-header">
                        <span class="skill-name"><i class="fab fa-js skill-icon"></i>JavaScript</span>
                        <span class="skill-percent">85%</span>
                    </div>
                    <div class="skill-bar">
                        <div class="skill-progress" style="width: 85%"></div>
                    </div>
                </div>
                <div class="skill-item">
                    <div class="skill-header">
                        <span class="skill-name"><i class="fab fa-react skill-icon"></i>React</span>
                        <span class="skill-percent">80%</span>
                    </div>
                    <div class="skill-bar">
                        <div class="skill-progress" style="width: 80%"></div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 右侧内容 -->
        <div class="main-content">
            <div class="section fade-in">
                <h2 class="section-title">教育背景</h2>
                <div class="timeline">
                    <div class="timeline-item">
                        <div class="timeline-dot animate-dot"></div>
                        <div class="timeline-date">2019 - 2023</div>
                        <h3 class="timeline-title">计算机科学与技术</h3>
                        <p class="timeline-subtitle">北京大学 | 本科</p>
                        <p class="timeline-desc">主修课程：数据结构与算法、计算机网络、数据库系统、Web开发</p>
                    </div>
                    <div class="timeline-item">
                        <div class="timeline-dot"></div>
                        <div class="timeline-date">2023 - 至今</div>
                        <h3 class="timeline-title">软件工程</h3>
                        <p class="timeline-subtitle">清华大学 | 硕士</p>
                        <p class="timeline-desc">研究方向：前端工程化、性能优化</p>
                    </div>
                </div>
            </div>
            
            <div class="section fade-in">
                <h2 class="section-title">项目经验</h2>
                <div class="projects-grid">
                    <div class="project-card">
                        <div class="project-image">项目截图</div>
                        <div class="project-content">
                            <h3 class="project-title">电商后台管理系统</h3>
                            <p class="project-desc">基于React和Ant Design开发的全功能电商后台管理系统，包含商品管理、订单管理、用户管理等功能模块。</p>
                            <div class="project-tags">
                                <span class="project-tag">React</span>
                                <span class="project-tag">Ant Design</span>
                                <span class="project-tag">Redux</span>
                            </div>
                            <!-- <button class="btn btn-outline mt-3">查看详情</button> -->
                        </div>
                    </div>
                    <div class="project-card">
                        <div class="project-image">项目截图</div>
                        <div class="project-content">
                            <h3 class="project-title">个人博客系统</h3>
                            <p class="project-desc">使用Vue.js和Node.js开发的个人博客系统，支持Markdown编辑、文章分类、评论等功能。</p>
                            <div class="project-tags">
                                <span class="project-tag">Vue.js</span>
                                <span class="project-tag">Node.js</span>
                                <span class="project-tag">MongoDB</span>
                            </div>
                            <!-- <button class="btn btn-outline mt-3">查看详情</button> -->
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="section fade-in">
                <h2 class="section-title">实习经历</h2>
                <div class="experience-item">
                    <div class="experience-header">
                        <div>
                            <h3 class="experience-title">前端开发实习生</h3>
                            <p class="experience-company">字节跳动</p>
                        </div>
                        <span class="experience-date">2022.07 - 2022.09</span>
                    </div>
                    <p class="experience-desc">参与公司内部管理系统开发，负责前端页面组件开发与性能优化，使用React技术栈。</p>
                    <!-- <button class="btn btn-secondary mt-2">项目成果</button> -->
                </div>
                <div class="experience-item">
                    <div class="experience-header">
                        <div>
                            <h3 class="experience-title">Web开发实习生</h3>
                            <p class="experience-company">腾讯科技</p>
                        </div>
                        <span class="experience-date">2021.07 - 2021.09</span>
                    </div>
                    <p class="experience-desc">参与公司官网改版项目，负责响应式布局实现和部分交互功能开发。</p>
                    <!-- <button class="btn btn-secondary mt-2">项目成果</button> -->
                </div>
            </div>
        </div>
    </div>

    <footer class="bg-gray-100 py-6 text-center text-gray-600 text-sm">
        <p>created by HTML学长</p>
        <p class="mt-1">简历模板，仅供参考</p>
    </footer>

    <script>
        // 滚动动画效果
        document.addEventListener('DOMContentLoaded', function() {
            const sections = document.querySelectorAll('.section');
            const timelineDots = document.querySelectorAll('.timeline-dot');
            
            const observer = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        entry.target.classList.add('fade-in');
                        
                        // 触发时间轴圆点动画
                        if (entry.target.querySelector('.timeline')) {
                            timelineDots.forEach(dot => {
                                dot.classList.add('animate-dot');
                            });
                        }
                    }
                });
            }, {
                threshold: 0.1
            });
            
            sections.forEach(section => {
                observer.observe(section);
            });
            
            // 图标填充动画
            const skillIcons = document.querySelectorAll('.skill-icon');
            skillIcons.forEach(icon => {
                icon.addEventListener('mouseenter', () => {
                    icon.style.transform = 'scale(1.1)';
                    icon.style.color = 'var(--secondary)';
                });
                
                icon.addEventListener('mouseleave', () => {
                    icon.style.transform = 'scale(1)';
                    icon.style.color = 'var(--primary)';
                });
            });
        });
    </script>
</body>
</html>